package org.spring.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("item-module")
public interface ItemClient {
    @GetMapping("/item/query")
    ItemVO queryUserById(@RequestParam("itemId") Long itemId);
}
